//
//  DidAnnounModel.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/14.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class DidAnnounModel: NSObject {
    var od_count = "-999"
    var goods_image = "-999"
    var od_buy_count = "-999"
    var complete_time = "-999"
    var od_no = "-999"
    var publish_time = "-999"
    var od_id = "-999"
    var member_name = "-999"
    var buy_count = "-999"
    var goods_name = "-999"
    var publish_date = "-999"
    var countdown = "-999"
    
    

    var if_share = "-999"
    var pay_sn = "-999"
    var prize_code = "-999"
    var unpay_count = "-999"
    var od_progress = "-999"
    var my_count = "-999"
    var join_member_count = "0"


    
    init(dic : [String : AnyObject]) {
        super.init()
        
        setValuesForKeys(dic)
        
    }
    
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
        
    }
    
    
    //在swift中想要打印对象要以下重写属性
    override var description: String{
        let keys = ["od_count","goods_image","od_buy_count","complete_time","publish_time","od_id","member_name","buy_count","goods_name","publish_date","countdown"]
        let dic = dictionaryWithValues(forKeys: keys)
        return "\(dic)"
    }


}

